'use strict';
function no_same(collection,item1){
  for(let item2 of collection){
    if(item1==item2){
      return false;
    }
  }
  return true;
}
function choose_no_common_elements(collection_a, collection_b) {
  let result=[];
  for(let item of collection_a){
    if(no_same(collection_b,item)){
      result.push(item);
    }
  }
  console.log(result);
  return result;
}

module.exports = choose_no_common_elements;
choose_no_common_elements(["a", "e", "h", "t", "f", "c", "g", "b", "d"],["a", "d", "e", "f"]);
